﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class RegTbOutpatientInvoiceTime20240721
    {
        public long InvoiceId { get; set; }
        public long? ReturnInvoiceId { get; set; }
        public long? RegNo { get; set; }
        public string? CardType { get; set; }
        public string? CardNo { get; set; }
        public string? OutpatientNo { get; set; }
        public long? InvoiceNo { get; set; }
        public long PatId { get; set; }
        public long NewPatId { get; set; }
        public string? PatName { get; set; }
        public int? ChargeType { get; set; }
        public string? InvoicePrefix { get; set; }
        public string? InvoiceLabel { get; set; }
        public string? InvoiceInfo { get; set; }
        public int? OpCode { get; set; }
        public DateTime? OpTime { get; set; }
        public int? IsPrint { get; set; }
        public int? Printer { get; set; }
        public DateTime? PrintTime { get; set; }
        public decimal? TotalAmount { get; set; }
        public string? CapitalAmount { get; set; }
        public decimal? OwnFee { get; set; }
        public decimal? InsuranceTotal { get; set; }
        public decimal? InsuranceCashTotal { get; set; }
        public decimal? CostTotal { get; set; }
        public decimal? Flpay { get; set; }
        public decimal? PubPay { get; set; }
        public decimal? AppendPay { get; set; }
        public decimal? CurrAccountPay { get; set; }
        public decimal? LastAccountPay { get; set; }
        public decimal? CurrAccountBalance { get; set; }
        public decimal? LastAccountBalance { get; set; }
        public decimal? HisCardFee { get; set; }
        public decimal? PayFee { get; set; }
        public decimal? CashFee { get; set; }
        public decimal? ReceiveAmount { get; set; }
        public decimal? ChangeAmount { get; set; }
        public decimal? ErrorCents { get; set; }
        public int? Status { get; set; }
        public int? UseFlag { get; set; }
        public int? BussEvent { get; set; }
        public int? BillNo { get; set; }
        public int? Flag { get; set; }
        public string? TradeSerialNo { get; set; }
        public decimal? PrepaidRemind { get; set; }
        public decimal? PrepaidPay { get; set; }
        public int? PrepaidId { get; set; }
        public int? DataFrom { get; set; }
        public int? FromFlag { get; set; }
        public decimal? Rate { get; set; }
        public decimal? DiscountAmount { get; set; }
        public long? ChargeNo { get; set; }
        public long? OriginalInvoiceId { get; set; }
        public string? ComputerNo { get; set; }
        public int? TerminalType { get; set; }
        public string? PayOrderNo { get; set; }
        public string? ReturnOrderNo { get; set; }
        public string? DispensingWindow { get; set; }
        public bool IsDelete { get; set; }
        public int? CreatedBy { get; set; }
        public DateTime? CreatedDate { get; set; }
        public int? UpdateBy { get; set; }
        public DateTime? UpdateDate { get; set; }
        public int? ReturnOpCode { get; set; }
        public DateTime? ReturnOpTime { get; set; }
        public int? DrugDept { get; set; }
        public int HospitalCode { get; set; }
        public long? SerialNo { get; set; }
        public long? MzNo { get; set; }
        public short? DeptKind { get; set; }
        public decimal? JzPay { get; set; }
        public int? RecipeDoctor { get; set; }
        public int? RecipeDept { get; set; }
        public string? AccountFlag { get; set; }
        public string? DrugInfo { get; set; }
        public int? PayType { get; set; }
        public int? PrintCount { get; set; }
        public string? RemarkAi { get; set; }
        public decimal? PrepaidCardPay { get; set; }
        public decimal? DiffAmount { get; set; }
        public bool? IsDebitPay { get; set; }
        public decimal? DebitAmt { get; set; }
        public int? DebitStatus { get; set; }
        public decimal? DebitCheckoutAmt { get; set; }
        public DateTime? DebitCheckoutDate { get; set; }
        public int? DebitCheckoutOpId { get; set; }
        public long? DebitCheckoutInvoiceId { get; set; }
    }
}
